#!/bin/sh
patch -p0 < $0
exit 0
Index: compiler/utils/lit/lit/TestRunner.py
===================================================================
--- compiler/utils/lit/lit/TestRunner.py	(LLVM 3.5)
+++ compiler/utils/lit/lit/TestRunner.py	(working copy)
@@ -278,8 +278,8 @@
     if isWin32CMDEXE:
         f.write('\nif %ERRORLEVEL% NEQ 0 EXIT\n'.join(commands))
     else:
-        if test.config.pipefail:
-            f.write('set -o pipefail;')
+        #if test.config.pipefail:
+        #    f.write('set -o pipefail;')
         f.write('{ ' + '; } &&\n{ '.join(commands) + '; }')
     f.write('\n')
     f.close()
